home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 24 / PC Gamer IT CD 24 1-2.iso / PATCHES / ZNPATCH.EXE / ZNPatch / Addon / subpatch.zfs / vp20.scr < prev    next >
Text File  |  1997-06-04  |  13KB  |  293 lines

  1. # THIS SCRIPT WAS GENERATED ON 04-02-1996 AT 23:44:44
  2. world V                     # Conservatory
  3. room P                      # Boiler Room
  4. nodeview 20                 # Nodeview 20 (873)
  5. # SCRIPT VERSION: 24.8
  6.  
  7. # PUZZLES
  8. puzzle:18800 {                            # INITIAL VP20
  9.               criteria { 
  10.               }
  11.               results {
  12.                             action:set_screen(vp20s11c.tga)
  13.               }
  14.               flags {
  15.                             ONCE_PER_INST
  16.                             DO_ME_NOW
  17.               }
  18. }
  19. puzzle:18802 {                            # vp20-vp10 nav
  20.               criteria { 
  21.                             [18801] = 1                 # vp20-vp10
  22.               }
  23.               results {
  24.                             action:assign(18801, 0)     # vp20-vp10
  25.                              # action:rotate_to(0)
  26.                             action:dissolve
  27.                             event:change_location(V,P,10,0)
  28.               }
  29.               flags {
  30.                             ONCE_PER_INST
  31.               }
  32. }
  33. puzzle:18804 {                            # vp20-vp30 nav
  34.               criteria { 
  35.                             [18803] = 1                 # vp20-vp30
  36.               }
  37.               results {
  38.                             action:assign(18803, 0)     # vp20-vp30
  39.                              # action:rotate_to(1074)
  40.                             action:dissolve
  41.                             event:change_location(V,P,30,1066)
  42.               }
  43.               flags {
  44.                             ONCE_PER_INST
  45.               }
  46. }
  47. puzzle:18806 {                            # like pull the lever down_nav 0
  48.               criteria { 
  49.                             [9] ! 68
  50.                             [18810] = 0                 # boiler lever
  51.                             [18805] = 1                 # like pull the lever down
  52.               }
  53.               results {
  54.                             action:assign(18805, 0)     # like pull the lever down
  55.                             action:assign(18810, 1)     # boiler lever
  56.                             action:assign(18806, 0)     # like pull the lever down_nav 0
  57.                             action:assign(20205, 0)     # ted give me some steam
  58.                             action:set_partial_screen(288 112 vp20a11c.tga 2 0)
  59.                             action:disable_control(18805)              # like pull the lever down
  60.                             background:music:18813(0 vp20h1sc.raw 0)
  61.                             background:music:18814(0 vp20h2tc.raw 0)
  62.                             background:timer:20428(2)
  63.                             action:disable_control(18801)              # vp20-vp10
  64.                             action:disable_control(18803)              # vp20-vp30
  65.               }
  66.               flags {
  67.                             ONCE_PER_INST
  68.               }
  69. }
  70. puzzle:18808 {                            # Im all pull lever up_nav
  71.               criteria { 
  72.                             [20422] ! 2                 # locket global
  73.                             [18810] = 1                 # boiler lever
  74.                             [18807] = 1                 # Im all pull lever up
  75.               }
  76.               criteria { 
  77.                             [20428] = 2                 # like pull the lever down_nav 0_Timer
  78.               }
  79.               results {
  80.                             action:assign(18807, 0)     # Im all pull lever up
  81.                             action:assign(18808, 0)     # Im all pull lever up_nav
  82.                             action:assign(20428, 0)     # like pull the lever down_nav 0_Timer
  83.                             action:assign(18810, 2)     # boiler lever
  84.                             action:set_partial_screen(288 112 vp20a21c.tga 2 0)
  85.                             action:disable_control(18807)              # Im all pull lever up
  86.                             action:enable_control(18805)               # like pull the lever down
  87.                             background:music:18815(0 vp20h1sc.raw 0)
  88.                             action:enable_control(18801)               # vp20-vp10
  89.                             action:enable_control(18803)               # vp20-vp30
  90.               }
  91.               flags {
  92.                             ONCE_PER_INST
  93.               }
  94. }
  95. puzzle:18809 {                            # initial lever down overlay
  96.               criteria { 
  97.                             [20422] = 2                 # locket global
  98.                             [18810] = 1                 # boiler lever
  99.               }
  100.               results {
  101.                             action:enable_control(18807)               # Im all pull lever up
  102.                             action:set_partial_screen(288 112 vp20a41c.tga 2 0)
  103.               }
  104.               flags {
  105.                             ONCE_PER_INST
  106.                             DO_ME_NOW
  107.               }
  108. }
  109. puzzle:18811 {                            # initial disable lev up
  110.               criteria { 
  111.                             [18810] = 0                 # boiler lever
  112.               }
  113.               results {
  114.                             action:disable_control(18807)              # Im all pull lever up
  115.               }
  116.               flags {
  117.                             ONCE_PER_INST
  118.                             DO_ME_NOW
  119.               }
  120. }
  121. puzzle:18812 {                            # disable lever permanently
  122.               criteria { 
  123.                             [18951] > 0                 # state of crystal in pool
  124.               }
  125.               results {
  126.                             action:disable_control(18805)              # like pull the lever down
  127.                             action:disable_control(18807)              # Im all pull lever up
  128.               }
  129.               flags {
  130.                             ONCE_PER_INST
  131.                             DO_ME_NOW
  132.               }
  133. }
  134. puzzle:20083 {                            # dummy lever 1_nav
  135.               criteria { 
  136.                             [20078] = 1                 # dummy lever 1
  137.               }
  138.               results {
  139.                             action:assign(20078, 0)     # dummy lever 1
  140.                             action:assign(20083, 0)     # dummy lever 1_nav
  141.                             background:music:20088(0 vp20h3sc.raw 0)
  142.               }
  143.               flags {
  144.                             ONCE_PER_INST
  145.               }
  146. }
  147. puzzle:20084 {                            # dummy lever 3_nav
  148.               criteria { 
  149.                             [20079] = 1                 # dummy lever 3
  150.               }
  151.               results {
  152.                             action:assign(20079, 0)     # dummy lever 3
  153.                             action:assign(20084, 0)     # dummy lever 3_nav
  154.                             background:music:20089(0 vp20h3sc.raw 0)
  155.               }
  156.               flags {
  157.                             ONCE_PER_INST
  158.               }
  159. }
  160. puzzle:20085 {                            # dummy lever 4_nav
  161.               criteria { 
  162.                             [20080] = 1                 # dummy lever 4
  163.               }
  164.               results {
  165.                             action:assign(20080, 0)     # dummy lever 4
  166.                             action:assign(20085, 0)     # dummy lever 4_nav
  167.                             background:music:20090(0 vp20h3sc.raw 0)
  168.               }
  169.               flags {
  170.                             ONCE_PER_INST
  171.               }
  172. }
  173. puzzle:20086 {                            # dummy lever 5_nav
  174.               criteria { 
  175.                             [20081] = 1                 # dummy lever 5
  176.               }
  177.               results {
  178.                             action:assign(20081, 0)     # dummy lever 5
  179.                             action:assign(20086, 0)     # dummy lever 5_nav
  180.                             background:music:20091(0 vp20h3sc.raw 0)
  181.               }
  182.               flags {
  183.                             ONCE_PER_INST
  184.               }
  185. }
  186. puzzle:20087 {                            # dummy lever 6_nav
  187.               criteria { 
  188.                             [20082] = 1                 # dummy lever 6
  189.               }
  190.               results {
  191.                             action:assign(20082, 0)     # dummy lever 6
  192.                             action:assign(20087, 0)     # dummy lever 6_nav
  193.                             background:music:20092(0 vp20h3sc.raw 0)
  194.               }
  195.               flags {
  196.                             ONCE_PER_INST
  197.               }
  198. }
  199. puzzle:20430 {                            # like pull the lever down (with locket)_nav 0
  200.               criteria { 
  201.                             [9] = 68
  202.                             [18810] = 0                 # boiler lever
  203.                             [18805] = 1                 # like pull the lever down
  204.               }
  205.               results {
  206.                             action:assign(18805, 0)     # like pull the lever down
  207.                             action:assign(18810, 1)     # boiler lever
  208.                             action:assign(20205, 0)     # ted give me some steam
  209.                             action:assign(20430, 0)     # like pull the lever down (with locket)_nav 0
  210.                             action:assign(20422, 2)     # locket global
  211.                             action:set_partial_screen(288 112 vp20a41c.tga 2 0)
  212.                             action:disable_control(18805)              # like pull the lever down
  213.                             action:enable_control(18807)               # Im all pull lever up
  214.                             background:music:20431(0 vp20h1sc.raw 0)
  215.                             background:music:20432(0 vp20h2tc.raw 0)
  216.                             action:inventory(drop 68)
  217.               }
  218.               flags {
  219.                             ONCE_PER_INST
  220.               }
  221. }
  222. puzzle:20433 {                            # Im all pull lever up_nav (w/locket)
  223.               criteria { 
  224.                             [20422] = 2                 # locket global
  225.                             [18810] = 1                 # boiler lever
  226.                             [18807] = 1                 # Im all pull lever up
  227.               }
  228.               criteria { 
  229.                             [20428] = 2                 # like pull the lever down_nav 0_Timer
  230.               }
  231.               results {
  232.                             action:assign(18807, 0)     # Im all pull lever up
  233.                             action:assign(20422, 1)     # locket global
  234.                             action:assign(20433, 0)     # Im all pull lever up_nav (w/locket)
  235.                             action:assign(18810, 2)     # boiler lever
  236.                             action:set_partial_screen(288 112 vp20a21c.tga 2 0)
  237.                             action:disable_control(18807)              # Im all pull lever up
  238.                             action:enable_control(18805)               # like pull the lever down
  239.                             background:music:20434(0 vp20h1sc.raw 0)
  240.                             action:inventory(add 68)
  241.               }
  242.               flags {
  243.                             ONCE_PER_INST
  244.               }
  245. }
  246.  
  247. # CONTROLS
  248. control:18801 push_toggle {               # vp20-vp10
  249.               warp_hotspot(1392,90,47,205)
  250.               warp_hotspot(0,90,61,205)
  251.               cursor(forward)
  252. }
  253. control:18803 push_toggle {               # vp20-vp30
  254.               warp_hotspot(977,116,171,197)
  255.               cursor(forward)
  256. }
  257. control:18805 push_toggle {               # like pull the lever down
  258.               warp_hotspot(293,122,18,74)
  259.               cursor(active)
  260. }
  261. control:18807 push_toggle {               # Im all pull lever up
  262.               warp_hotspot(280,182,32,103)
  263.               cursor(active)
  264. }
  265. # state 18810 has been reserved as a global variable (boiler lever)
  266. control:20078 push_toggle {               # dummy lever 1
  267.               warp_hotspot(252,111,22,88)
  268.               cursor(active)
  269. }
  270. control:20079 push_toggle {               # dummy lever 3
  271.               warp_hotspot(344,178,23,95)
  272.               cursor(active)
  273. }
  274. control:20080 push_toggle {               # dummy lever 4
  275.               warp_hotspot(395,106,22,96)
  276.               cursor(active)
  277. }
  278. control:20081 push_toggle {               # dummy lever 5
  279.               warp_hotspot(448,132,28,66)
  280.               cursor(active)
  281. }
  282. control:20082 push_toggle {               # dummy lever 6
  283.               warp_hotspot(484,115,23,80)
  284.               cursor(active)
  285. }
  286. # state 20429 has been reserved as a global variable (locket on lever)
  287.  
  288. # AUTO-BACKWARDS PUZZLES AND CONTROLS
  289. control:25620 pana {
  290.               angle(24.74)
  291.               linscale(0.66)
  292. }
  293.